package com.javasm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单(AdminMenu)实体类
 *
 * @author makejava
 * @since 2025-06-08 13:59:02
 */

@Data
@AllArgsConstructor
@NoArgsConstructor

public class AdminMenu implements Serializable {
    private static final long serialVersionUID = -12528464607135427L;
    
    private Long mid;
    /**
     * 菜单名
     */
    private String menuname;
    /**
     * 父id
     */
    private Long pid;
    /**
     * 跳转链接
     */
    private String url;
    /**
     * 是否显示在导航,1显示,2不显示
     *
     */
    private  String pname;
    private Integer show;
    /**
     * 图标
     */
    private String glyphicon;


   private List<AdminMenu> subMenu;

    public AdminMenu(String menuname, Long pid) {
        this.menuname = menuname;
        this.pid = pid;
    }
}

